﻿using UnityEngine;
using System.Collections;

public class SelfDestruct : MonoBehaviour {
	public float destructTime = 3.0f;

	public void Initiate() {
		Invoke ("Destruct", destructTime);
	}

	private void Destruct() {
		Destroy (gameObject);
	}
}
